﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
using System.Globalization;

namespace Futaba.SBus.Tests
{
	[TestClass]
	public class BaseTest
	{
		public TestContext TestContext { get; set; }

		public BaseTest()
		{
			Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
			LoggingService.Log.Listeners.Add(new DebugTraceListener());
		}

		[TestInitialize]
		public void InitializeTest()
		{
			Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
		}
	}
}
